[INFO] cloning repository https://github.com/tikue/fizzbuzz
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tikue/fizzbuzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ad97dd64d1f0f8135f44e116c4eb983d1de1000
[INFO] checking tikue/fizzbuzz against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tikue/fizzbuzz
[INFO] finished tweaking git repo https://github.com/tikue/fizzbuzz
[INFO] tweaked toml for git repo https://github.com/tikue/fizzbuzz written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tikue/fizzbuzz on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tikue/fizzbuzz already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d495aab9aaec4048cafb04afdfdbfc6b674247578ab819e628c7708fcd3deb0
[INFO] running `Command { std: "docker" "start" "-a" "0d495aab9aaec4048cafb04afdfdbfc6b674247578ab819e628c7708fcd3deb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d495aab9aaec4048cafb04afdfdbfc6b674247578ab819e628c7708fcd3deb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d495aab9aaec4048cafb04afdfdbfc6b674247578ab819e628c7708fcd3deb0", kill_on_drop: false }`
[INFO] [stdout] 0d495aab9aaec4048cafb04afdfdbfc6b674247578ab819e628c7708fcd3deb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76244d98d9ce1a16c6df35a4726a4a99b1dcb69d92185f64e57e04b1ba5112a5
[INFO] running `Command { std: "docker" "start" "-a" "76244d98d9ce1a16c6df35a4726a4a99b1dcb69d92185f64e57e04b1ba5112a5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking fizzbuzz v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     box Const { x: a }
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 16 -     box Const { x: a }
[INFO] [stdout] 16 +     Box::new(Const { x: a })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let x = test(5, "buzz", box Id);
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let x = test(5, "buzz", box Id);
[INFO] [stdout] 42 +     let x = test(5, "buzz", Box::new(Id));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String {
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                not found in this scope
[INFO] [stdout]    |                help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     extern "rust-call" fn call(&self, (_,): (B,)) -> A {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]   --> src/main.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     extern "rust-call" fn call(&self, (a,): (A,)) -> A {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     extern "rust-call" fn call(&self, (_,): (B,)) -> A {
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(fn_traits)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     extern "rust-call" fn call(&self, (a,): (A,)) -> A {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(fn_traits)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<dyn Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(B) -> ()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^^^^^^^^^^ manual implementations of `Fn` are experimental
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]   |            |
[INFO] [stdout]   |            expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^^^^^^^^^^ manual implementations of `Fn` are experimental
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     box Const { x: a }
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 16 -     box Const { x: a }
[INFO] [stdout] 16 +     Box::new(Const { x: a })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let x = test(5, "buzz", box Id);
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let x = test(5, "buzz", box Id);
[INFO] [stdout] 42 +     let x = test(5, "buzz", Box::new(Id));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<dyn Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(String) -> ()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^          -------- help: remove the unnecessary generic argument
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert!(fizzbuzz(3).as_slice() == "fizz");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     assert!(fizzbuzz(5).as_slice() == "buzz");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     assert!(fizzbuzz(15).as_slice() == "fizzbuzz");
[INFO] [stdout]    |                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |     assert!(fizzbuzz(7).as_slice() == "7");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0183, E0412, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fizzbuzz` (bin "fizzbuzz" test) due to 21 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String {
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                not found in this scope
[INFO] [stdout]    |                help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     extern "rust-call" fn call(&self, (_,): (B,)) -> A {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]   --> src/main.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     extern "rust-call" fn call(&self, (a,): (A,)) -> A {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     extern "rust-call" fn call(&self, (_,): (B,)) -> A {
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(fn_traits)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `fn_traits`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     extern "rust-call" fn call(&self, (a,): (A,)) -> A {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(fn_traits)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<dyn Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(B) -> ()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn const_<A, B>(a: A) -> Box<Fn<(B,), A> + Send> where A: Send + Clone {
[INFO] [stdout]    |                              ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^^^^^^^^^^ manual implementations of `Fn` are experimental
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<A, B> Fn<(B,), A> for Const<A> where A: Send + Clone {
[INFO] [stdout]   |            ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]   |            |
[INFO] [stdout]   |            expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^^^^^^^^^^ manual implementations of `Fn` are experimental
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<A> Fn<(A,), A> for Id {
[INFO] [stdout]    |         ^^     --- help: remove the unnecessary generic argument
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<dyn Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(String) -> ()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied
[INFO] [stdout]   --> src/main.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let test = |d, s: &str, x: Box<Fn<(String,), String> + Send>|
[INFO] [stdout]    |                                    ^^          -------- help: remove the unnecessary generic argument
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 1 generic argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert!(fizzbuzz(3).as_slice() == "fizz");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     assert!(fizzbuzz(5).as_slice() == "buzz");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     assert!(fizzbuzz(15).as_slice() == "fizzbuzz");
[INFO] [stdout]    |                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |     assert!(fizzbuzz(7).as_slice() == "7");
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0183, E0412, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fizzbuzz` (bin "fizzbuzz") due to 21 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "76244d98d9ce1a16c6df35a4726a4a99b1dcb69d92185f64e57e04b1ba5112a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76244d98d9ce1a16c6df35a4726a4a99b1dcb69d92185f64e57e04b1ba5112a5", kill_on_drop: false }`
[INFO] [stdout] 76244d98d9ce1a16c6df35a4726a4a99b1dcb69d92185f64e57e04b1ba5112a5
